package Chapter7;
import java.util.*;
public class Example30 {
	public static void main(String[] args) {
		int[] arr= {9,8,5,2,3};
		Arrays.sort(arr);
		int index=Arrays.binarySearch(arr, 3);
		System.out.println("3' after sort"+index);
	}

}
